package com.hmy.contract.dal.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hmy.ccp.common.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description 合同流程Po对象
 * @Author seven.qi
 * @Date 2023/12/19 18:48
 * @Version 1.0
 */

@ApiModel(value = "合同流程Po对象", description = "合同流程Po对象，对应数据库的contract_process表")
@TableName("contract_process")
@Getter
@Setter
public class ContractProcessPo extends BasePo implements Serializable {
    /**
     * 主键标识
     */
    @ApiModelProperty(name = "主键标识", notes = "")
    @TableId
    private Long id;
    /**
     * 合同id
     */
    @ApiModelProperty(name = "合同id", notes = "")
    private Long contractId;
    /**
     * 合同流程名称
     */
    @ApiModelProperty(name = "合同流程名称", notes = "")
    private String contractProcessName;
    /**
     * 合同流程id
     */
    @ApiModelProperty(name = "合同流程id", notes = "")
    private Long contractProcessId;
    /**
     * 合同流程任务id
     */
    @ApiModelProperty(name = "合同流程任务id", notes = "")
    private Long contractProcessTaskId;
    /**
     * 合同流程定义id
     */
    @ApiModelProperty(name = "合同流程定义id", notes = "")
    private String contractProcessDefinitionId;
    /**
     * 当前处理人
     */
    @ApiModelProperty(name = "当前处理人", notes = "")
    private String currentActorName;
    /**
     * 任务候选人
     */
    @ApiModelProperty(name = "任务候选人", notes = "")
    private String taskCandidate;
    /**
     * 合同流程状态
     */
    @ApiModelProperty(name = "合同流程状态", notes = "")
    private Integer status;
    /**
     * 流程审批意见
     */
    @ApiModelProperty(name = "流程审批意见", notes = "")
    private String reason;
    /**
     * 备注
     */
    @ApiModelProperty(name = "备注", notes = "")
    private String remark;
    /**
     * 创建者id
     */
    @ApiModelProperty(name = "创建者id", notes = "")
    private Long creatorId;
    /**
     * 创建人姓名
     */
    @ApiModelProperty(name = "创建人姓名", notes = "")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "创建时间", notes = "")
    private LocalDateTime createTime;
    /**
     * 更新者id
     */
    @ApiModelProperty(name = "更新者id", notes = "")
    private Long updaterId;
    /**
     * 更新人姓名
     */
    @ApiModelProperty(name = "更新人姓名", notes = "")
    private String updaterName;
    /**
     * 更新时间
     */
    @ApiModelProperty(name = "更新时间", notes = "")
    private LocalDateTime updateTime;
    /**
     * 逻辑删除：0-未删除，1-已删除
     */
    @ApiModelProperty(name = "逻辑删除：0-未删除，1-已删除", notes = "")
    private Boolean isDeleted;
}
